//
//  RBMediaSlider.h
//  RBVideoPlayer
//
//  Created by Lan on 2017/8/7.
//  Copyright © 2017年 SummerTea. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RBMediaSlider : UIView

@property(nonatomic, assign) CGFloat cacheProgress;
@property(nonatomic, assign) CGFloat playProgress;
@property(nonatomic, copy) void(^dragEndBlock)(CGFloat playProgress);
@property(nonatomic, copy) void(^dragChangedBlock)(CGFloat playProgress);
@property(nonatomic, copy) void(^railTapBlock)(CGFloat progress);
@property(nonatomic, copy) void(^playProgressChangedBlock)(CGFloat playProgress);
@property(nonatomic, assign) BOOL dragging;

/** 固定住滑块长宽,默认14 */
@property(nonatomic, assign) CGFloat dragViewHeight;

@end
